package cn.cdeden.knowledge.domain.dto;

//import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

//import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @ProjectName : dms_be_2024
 * @Package : com.cdyd.ecm.modules.otherModules.portal.domain
 * @ClassName : PortalQueryParam
 * @Author : Yu.
 * @Description : // TODO
 * @Date : 2024/8/13 9:30
 * @Version : 1.0
 */
@Data
public class PortalQueryParam {

//    @ApiModelProperty(value = "文件类型")
    @NotNull(message = "文件类型,不可以为空")
    private String libraryType;

//    @ApiModelProperty(value = "节点编号")
    private List<String>  nodeId;

//    @ApiModelProperty(value = "用户编号")
    private List<String> userId;

//    @ApiModelProperty(value = "团队编号")
    private String teamId;

//    @ApiModelProperty(value = "查询那些分类文件分类")
    private List<String>  classification;


//    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startDate;

//    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endDate;

}
